<? foreach ($letters as $letter): ?>
	<h3><?=$pages[$letter->tPage]->pName?></h3>
	<?	$vals = json_decode($letter->pVals);
		foreach ($vals as $key => $val): ?>
		<b><?=$key?></b>:<br><?=$val?><br>
	<? endforeach;?>
	<hr>
<? endforeach;?>